package users;

/**
 * @program: untitled2
 * @description: 游戏用户,人机对战,只要是参加这个活动的都是游戏用户
 * @author: Tan
 * @create: 2022-04-27 10:05
 **/
public class User {
    public int number;
    protected String ip;
    public String name;

    public User() {
    }

    public User(String ip) {
        this.ip = ip;
    }

    public User(String ip, String name) {
        this.ip = ip;
        this.name = name;
    }

    protected void say(){
        System.out.println("hiii");
    }

    public final void run(){

    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

